Node-RED block in Snap4City Microservice library node-red-contrib-snap4city-user is "dashboard-map"> To know what to send as input to this node read the guide found here

With this node you can add a map to an existing dashboard or a new one created by the node. If a point in the map is clicked this node receives the GPS coordinates of the point clicked on the map.

Configuration

dashboard string
Dashboard title to which the map will be added

Outputs

  1. GPS Coordinates and service uri
    Returns the GPS coordinates when the map is clicked or GPS coordinates and service uri when a device in the map is clicked
    {
    	"latitude": 43.75, 
    	"longitude": 11.35,
    	"serviceUri": "http://www.disit.org/km4city/resource/iot/orionUNIFI/DISIT/METRO15"
    }